import Layout from '@/layout'

const shopRouter = {
  path: '/shop',
  component: Layout,
  meta: {
    title: '门店',
    icon: 'documentation',
    affix: false
  },
  children: [
    {
      path: '/shop/configuration',
      component: () => import('@/views/shop/configuration'),
      name: 'configuration',
      meta: {
        title: '配置',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/shop/goods',
      component: () => import('@/views/shop/goods'),
      name: 'goods',
      meta: {
        title: '商品',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/shop/order',
      component: () => import('@/views/shop/order'),
      name: 'order',
      meta: {
        title: '订单',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/shop/shop',
      component: () => import('@/views/shop/shop'),
      name: 'shop',
      meta: {
        title: '门店',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/shop/embody',
      component: () => import('@/views/shop/embody'),
      name: 'embody',
      meta: {
        title: '提现',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/shop/pay',
      component: () => import('@/views/shop/pay'),
      name: 'pay',
      meta: {
        title: '到店付款',
        icon: 'documentation',
        affix: false
      }
    },
  ]
}
export default shopRouter
